import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

import 'package:get/get.dart';

import '../../../style/app_colors.dart';
import '../controllers/connect_sucess_controller.dart';

class ConnectSucessView extends GetView<ConnectSucessController> {
  const ConnectSucessView({super.key});
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        leading: IconButton(
          icon: Image.asset('assets/images/ic_back2.png',width: 48.w,height: 48.h),
          onPressed: () {
            Get.back();
          },
          tooltip: MaterialLocalizations.of(context).backButtonTooltip, // 可选：设置工具提示
        ),
      ),
      body: Obx(()=> Center(
        child: Column(
          children: [
            SizedBox(height: 370.h),
            Image.asset('assets/images/binding_success_img.webp',width: 270.w, height: 270.h),
            SizedBox(height: 10),
            Text(controller.pageTip.value,style: TextStyle(color: AppColors.Sub_Title_Color),)
          ],
        ),
      )

      ),
    );
  }
}
